{template 'header'}
<div class="m">
	<div class="m_l f_l">
		{if $MOD[page_irec]}
		<div class="box_head"><strong class="px13">&raquo; 推荐{$MOD[name]}</strong></div>
		<div class="box_body">
			<div class="thumb">
			<!--{tag("moduleid=$moduleid&length=20&condition=status=3 and thumb<>'' and level>0&areaid=$cityid&pagesize=".$MOD[page_irec]."&order=".$MOD[order]."&width=120&height=90&cols=4&template=thumb-table&target=_blank")}-->
			</div>
		</div>
		{/if}
		{if $MOD[page_icat]}
		<table cellpadding="0" cellspacing="0" width="100%">
		{loop $maincat $i $c}
		{if $i%2==0}<tr>{/if}
		<td valign="top" width="330">
			<div class="b10"></div>
			<div class="box_head"><span class="f_r"><a href="{$MOD[linkurl]}{$c[linkurl]}">更多&raquo;</a></span><strong>{$c[catname]}</strong></div>
			<div class="box_body"><div class="thumbb"><!--{tag("moduleid=$moduleid&condition=status=3&catid=".$c[catid]."&areaid=$cityid&order=".$MOD[order]."&pagesize=".$MOD[page_icat]."&length=30&datetype=2&template=list-down&target=_blank")}--></div></div>
		</td>
		{if $i%2==0}<td>&nbsp;</td>{/if}
		{if $i%2==1}</tr>{/if}
		{/loop}
		</table>
		{/if}
	</div>
	<div class="m_n f_l">&nbsp;</div>
	<div class="m_r f_l">
		<div class="box_head"><div><strong>按分类浏览</strong></div></div>
		<div class="box_body">
		<table width="100%" cellpadding="3">
		{loop $maincat $k $v}
		{if $k%2==0}<tr>{/if}
		<td><a href="{$MOD[linkurl]}{$v[linkurl]}">{set_style($v[catname],$v[style])}</a>{if !$cityid} <span class="f_gray px10">({$v[item]})</span>{/if}</td>
		{if $k%2==1}</tr>{/if}
		{/loop}
		</table>
		</div>
		<div class="b10 c_b"> </div>
		<div class="box_head"><div><strong>月下载排行</strong></div></div>
		<div class="box_body">
		<div class="rank_list"><!--{tag("moduleid=$moduleid&condition=status=3 and addtime>$today_endtime-30*86400&areaid=$cityid&order=download desc&pagesize=10")}--></div>
		</div>
		<div class="b10 c_b"> </div>
		<div class="box_head"><div><strong>总下载排行</strong></div></div>
		<div class="box_body">
		<div class="rank_list"><!--{tag("moduleid=$moduleid&condition=status=3&areaid=$cityid&order=download desc&pagesize=10")}--></div>
		</div>
	</div>
</div>
{template 'footer'}